

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">





<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Update Worksheet Entry</title>
<script src="./jquery-1.7.1.min.js"></script>
<script>
$(document).ready(function(){
 var attrValueId = 0;
 
 $("#addAttrValue").click(function(){
    
   $("#attrRow").append("<th><input name='newAttribute["+attrValueId +"]'/></th>");
   $("#attrValRow").append("<td><input name='newAttributeValue["+attrValueId +"]'/></td>");

    attrValueId = attrValueId+1;
  });
});
</script>
</head>
<body>
	<form id="EditWorkSheetEntry" name="EditWorkSheetEntry"
		action="/DBEXEL/EditWorkSheetEntry.action" method="post">
		
	
		 
		<input type="hidden" name="workSheet_Id" value="1"
			id="EditWorkSheetEntry_workSheet_Id" />
		<table border="1" id="parentTable">
			<tr>
				<td><table id="contentTable">
						<tr id="attrRow">

							<th>a</th>

							<th>b</th>

							<th>c</th>


						</tr>

						<tr id="attrValRow">

							<input type="hidden" name="selectedEntryId" value="1"
								id="EditWorkSheetEntry_selectedEntryId" />

							<td><input type="text" name="newAttributeValues[1]"
								value="Hello" id="EditWorkSheetEntry_newAttributeValues_1_" /></td>

							<td><input type="text" name="newAttributeValues[2]"
								value="cruel" id="EditWorkSheetEntry_newAttributeValues_2_" /></td>

							<td><input type="text" name="newAttributeValues[3]"
								value="World" id="EditWorkSheetEntry_newAttributeValues_3_" /></td>
						</tr>
					</table></td>

				<td><button type="button" id="addAttrValue" >+</button></td>
		</table>
		<input type="submit" id="EditWorkSheetEntry_0" value="Submit" />

	</form>


</body>
</html>